package create_album;

import java.util.ArrayList;

/**
 * 
 * @author lyos2210
 * 
 */
public class Album {

	public Album() {
		RechercheFichier file = new RechercheFichier();
		file.RechercheFichierFileOrDirectory();
		ArrayList<String> toto = file.getFileList();
		if (toto.isEmpty())
			return;
		else {
			AlbumView av = new AlbumView();
			av.setArrayListPath(toto);
			av.createView();
		}
	}

	public Album(ArrayList<String> toto) {
		if (toto.isEmpty())
			return;
		else {
			AlbumView av = new AlbumView();
			av.setArrayListPath(toto);
			av.createView();
		}
	}

}
